"use strict";
const assert = require("assert");
const removeTailSlash = function(str) {
	assert.ok(str, "str can't be null");
	assert.ok(typeof str === "string", "str can't be null");
	return str.replace(new RegExp("/+$"), "");
};
module.exports = {
	removeTailSlash
};